Records Per Page:
<?php
	echo '<select id="pageSelect" name="pageSelect" onchange="arrange(this.value,1);" size="1" style="width:50px;" 
	class="drop_downs">';
	for($w=5;$w<=15;$w+=5)
	{
		if($_REQUEST[nr]==$w) $sel = "selected"; else $sel="";
		if($w==$n)
		{
			echo '<option  value="'.$w.'" selected="selected">'.$w.'</option>';
		}
		else
		{
			echo '<option '.$sel.' value="'.$w.'">'.$w.'</option>';
		}
	}
	echo '</select>';
?>